package com.ds.applet.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ds.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Arrays;

/**
 * 案例对象 mini_case
 *
 * @author liucan
 * @date 2024-03-26
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniCase implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 产品类型
     */
    @Excel(name = "产品类型")
    private String caType;

    /**
     * 系列
     */
    @Excel(name = "系列")
    private String caSeries;

    /**
     * 颜色
     */
    @Excel(name = "颜色")
    private String caColour;

    /**
     * 品牌
     */
    @Excel(name = "品牌")
    private String caBrand;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String caPic;

    /**
     * 内容图
     */
    @Excel(name = "内容图")
    private String caDetail;

    /**
     * 零售价
     */
    @Excel(name = "零售价")
    private String caMoney;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long caOrder;

    /**
     * 是否显示 0显示 1不显示
     */
    @Excel(name = "是否显示 0显示 1不显示")
    private Integer caShow;

    /**
     * 案例名称
     */
    @Excel(name = "案例名称")
    private String caName;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String caDescribe;

    /**
     * 状态 0正常 1删除
     */
    @Excel(name = "状态 0正常 1删除")
    private Integer caStatus;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String creationBy;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String creationTime;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    @TableField(exist = false)
    private String[] ids;//删除用到的存储id

    @TableField(exist = false)
    private String caSeriesName;//系列  型号

    @TableField(exist = false)
    private String caBrandName;//品牌

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCaType() {
        return caType;
    }

    public void setCaType(String caType) {
        this.caType = caType;
    }

    public String getCaSeries() {
        return caSeries;
    }

    public void setCaSeries(String caSeries) {
        this.caSeries = caSeries;
    }

    public String getCaColour() {
        return caColour;
    }

    public void setCaColour(String caColour) {
        this.caColour = caColour;
    }

    public String getCaBrand() {
        return caBrand;
    }

    public void setCaBrand(String caBrand) {
        this.caBrand = caBrand;
    }

    public String getCaPic() {
        return caPic;
    }

    public void setCaPic(String caPic) {
        this.caPic = caPic;
    }

    public String getCaDetail() {
        return caDetail;
    }

    public void setCaDetail(String caDetail) {
        this.caDetail = caDetail;
    }

    public String getCaMoney() {
        return caMoney;
    }

    public void setCaMoney(String caMoney) {
        this.caMoney = caMoney;
    }

    public Long getCaOrder() {
        return caOrder;
    }

    public void setCaOrder(Long caOrder) {
        this.caOrder = caOrder;
    }

    public Integer getCaShow() {
        return caShow;
    }

    public void setCaShow(Integer caShow) {
        this.caShow = caShow;
    }

    public String getCaName() {
        return caName;
    }

    public void setCaName(String caName) {
        this.caName = caName;
    }

    public String getCaDescribe() {
        return caDescribe;
    }

    public void setCaDescribe(String caDescribe) {
        this.caDescribe = caDescribe;
    }

    public Integer getCaStatus() {
        return caStatus;
    }

    public void setCaStatus(Integer caStatus) {
        this.caStatus = caStatus;
    }

    public String getCreationBy() {
        return creationBy;
    }

    public void setCreationBy(String creationBy) {
        this.creationBy = creationBy;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getCaSeriesName() {
        return caSeriesName;
    }

    public void setCaSeriesName(String caSeriesName) {
        this.caSeriesName = caSeriesName;
    }

    public String getCaBrandName() {
        return caBrandName;
    }

    public void setCaBrandName(String caBrandName) {
        this.caBrandName = caBrandName;
    }

    @Override
    public String toString() {
        return "MiniCase{" +
                "id=" + id +
                ", caType='" + caType + '\'' +
                ", caSeries='" + caSeries + '\'' +
                ", caColour='" + caColour + '\'' +
                ", caBrand='" + caBrand + '\'' +
                ", caPic='" + caPic + '\'' +
                ", caDetail='" + caDetail + '\'' +
                ", caMoney='" + caMoney + '\'' +
                ", caOrder=" + caOrder +
                ", caShow=" + caShow +
                ", caName='" + caName + '\'' +
                ", caDescribe='" + caDescribe + '\'' +
                ", caStatus=" + caStatus +
                ", creationBy='" + creationBy + '\'' +
                ", creationTime='" + creationTime + '\'' +
                ", remark='" + remark + '\'' +
                ", toApplet='" + toApplet + '\'' +
                ", ids=" + Arrays.toString(ids) +
                ", caSeriesName='" + caSeriesName + '\'' +
                ", caBrandName='" + caBrandName + '\'' +
                '}';
    }
}
